<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<jsp:useBean id="startBean" class="de.msiggi.beans.StartBean" scope="application"/>
<jsp:setProperty name="startBean" property="*"/>
<jsp:useBean id="soccerClient" class="own.Soccerclient" scope="session"/>
<jsp:useBean id="ChooseBean" class="de.msiggi.beans.ChooseBean" scope="application"/>
<jsp:setProperty name="ChooseBean" property="*"/>


<jsp:setProperty name="soccerClient" property="*"/>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SECOND:JSP</title>
</head>
<body bgcolor="#00CC33">
<h1>Gewählte Sportart: ${ChooseBean.choosenSport.sportsName}</h1>
<form action="ThirdStep.jsp">         
          Bitte die gewünschte Liga auswählen:
    <select id="choosenLeagueName" name="choosenLeagueName">
        <c:forEach var="item" items="${ChooseBean.leagues}">
            <option value="${item.leagueName}">${item.leagueName}</option>
        </c:forEach>
    </select>
    <input type="submit" value="GO">
           
</form>

</body>
</html>